package com.cloudbroker.bcs.platform.ltb.bizexport.t2.social;

import com.cloudbroker.bcs.common.entity.HSBCPSBackVO;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.ask.AskBizService;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.ask.back.AskDetailBack;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.ask.back.AskFreeBack;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.ask.back.AskListQryBack;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.ask.back.AskSearchBack;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.ask.vo.*;
import com.cloudbroker.bcs.platform.ltb.bizapi.t2service.social.AskT2BizService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by daibd19671 on 2016/11/18.
 */
@Service
public class AskT2 implements AskT2BizService{

    @Resource
    private AskBizService askBizService;

    @Override
    public HSBCPSBackVO func_ask_add(AskAddForm form) {
        return askBizService.ask_add(form);
    }


    @Override
    public AskListQryBack func_ask_list_qry(AskListQryForm form) {
        return askBizService.ask_list_qry(form);
    }

    @Override
    public HSBCPSBackVO func_ask_remove(AskRemoveForm form) {
        return askBizService.ask_remove(form);
    }

    @Override
    public AskDetailBack func_ask_detail(AskDetailForm form) {
        return askBizService.ask_detail(form);
    }

    @Override
    public HSBCPSBackVO func_ask_upvote(AskUpvoteForm form) {
        return askBizService.ask_upvote(form);
    }

    @Override
    public AskSearchBack func_ask_search(AskSearchForm form) {
        return askBizService.ask_search(form);
    }

    @Override
    public AskFreeBack func_ask_free(AskFreeForm form) {
        return askBizService.ask_free(form);
    }

    @Override
    public AskListQryBack func_get_leader_ask(LeaderAsk form) {
        return askBizService.get_leader_ask(form);
    }


    @Override
    public AskListQryBack func_leader_ask_list_qry(AskListQryForm form) {
        return askBizService.leader_ask_list_qry(form);
    }
}
